<template>
  <view class="background bg-primary" :style="{background}">
    <slot></slot>
  </view>
</template>

<script setup lang="ts">
interface IProps{
  background: string
}

withDefaults(defineProps<IProps>(), {
  background: '#F6F6F6'
})
</script>

<style scoped lang="scss">
.background{
  @include position(fixed, 0, 0, 0, 0, -1);
}
</style>
